<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>我爱预约网添加服务商页面</title>


<!--css文件-->

	<!--bootstrap_css文件-->
	<link rel="stylesheet" href="/wayy1/Public/bootstrap/dist/css/bootstrap.min.css">

	<link href="/wayy1/Application/Home/View/Public/Css/basic.css" rel="stylesheet" type="text/css" />

	<!--easyui_css文件-->
	<link href="/wayy1/Public/easyui/themes/default/easyui.css" rel="stylesheet" type="text/css" />
	<link href="/wayy1/Public/easyui/themes/icon.css" rel="stylesheet" type="text/css" />	

<!--js文件-->

	<script src="/wayy1/Public/bootstrap/js/jquery.min.js"></script>
	<script src="/wayy1/Public/bootstrap/js/bootstrap.min.js"></script>
	<script src="/wayy1/Public/bootstrap/js/holder.min.js"></script>
	<script src="/wayy1/Public/bootstrap/js/application.js"></script>
	<script type="text/javascript" src="/wayy1/Public/bootstrap/js/jquery.easyui.min.js"></script>



	<!--<script type="text/javascript" src="/wayy1/Public/easyui/jquery.min.js"></script>-->
	<script type="text/javascript" src="/wayy1/Public/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="/wayy1/Public/easyui/locale/easyui-lang-zh_CN.js" ></script>
	<script src='/wayy1/Application/Home/View/Public/Js/basic.js'></script>	
	<script src="/wayy1/Public/area.min.js"></script>	





	<!--字模板中包含文件放置区块名称-->

    
  


    <!--<script src="/wayy1/Public/jquery/jquery.cityselect.js"></script>-->
    <link href="/wayy1/Application/Home/View/Public/Css/Shop/addshop.css" rel="stylesheet" type="text/css" />  

   
    <!--<script src="/wayy1/Public/area.min.js"></script>-->
    <!--<script src="/wayy1/Public/kindeditor/kindeditor-min.js"></script>--> 

    <script src='/wayy1/Application/Home/View/Public/Js/tablechange.js'></script> 

<!--ueditor-->
    <script type="text/javascript" charset="utf-8" src="/wayy1/Public/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/wayy1/Public/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/wayy1/Public/ueditor/lang/zh-cn/zh-cn.js"></script>  
     <script src="/wayy1/Application/Home/View/Public/Js/Shop/addshop.js"></script> 

  








</head>
<body>
<div class="row col-md-12">
<!--网页头部-->
		<div class="row col-md-12 header_top">
			<div class="col-md-8">
				<span >您好！<?php echo $_SESSION['username'] ?>欢迎光临我爱预约网！</span>
			</div>			
			<div class="col-md-4">
				  <?php if($_SESSION['username'] == ''): ?><a class="login" href="<?php echo U('User/index');?>"> 登录 |</a>
				  	<a class="registe" href="<?php echo U('User/registe');?>"> 免费注册 |</a>
                          
                  <?php else: ?>
                  <a class="logout" href="<?php echo U('User/logout');?>"> 退出 |</a>
                  <a class="usercenter" href="<?php echo U('User/usercenter');?>"> 个人中心 |</a><?php endif; ?>  			
				<a href="#"> 我的约单 |</a>
			
				<a href="<?php echo U('User/service');?>"> 客户服务 </a> 
			</div>
		</div>
		<div class="row col-md-12 logo_and_search">
			
			<div class="col-md-7">
				<div class="col-md-12">
					<a class="wayy_logo" href="<?php echo U('Index/index');?>"><img  src="/wayy1/Application/Home/View/Public/Images/logo.jpg" width="154" height="90" /></a> 
					
				</div>
				<div class="col-md-12">

					<form id="destination_box" action="<?php echo U('Index/test');?>" method="post">
					<div class="input-group">						
				     <script type="text/javascript"> 
                          var area = new AreaCtrl("省份:","城市:","地区:");
                          area.write();
                          area.loadData();
                	</script> 	
				      <span class="input-group-btn">
				        <button class="btn btn-default  gosearch2" type="submit">Go!</button>
				      </span>
				    </div><!-- /input-group -->	
				</form>						
				</div>			 
						
				
			</div>
			<!--
			<div class="col-md-3 city_list">
				



				
				<input id="city_box" type="text" value="beijing">

					<div id="city">
						<div style="background:#eee;padding:5px;">请选择您想找服务所在的城市</div>
						<div class="padding:5px;">
							<input type="radio" name="city" value="01"><span>北京</span><br>
							<input type="radio" name="city" value="02"><span>上海</span><br>
							<input type="radio" name="city" value="03"><span>深圳</span><br>
							<input type="radio" name="city" value="04"><span>西安</span><br>
							<input type="radio" name="city" value="05"><span>其他</span><br>
						</div>
					</div>
				
			</div>	
			-->
			<div class="col-md-5 search_area">
				<div class="col-md-12">
					<button class="btn btn-default search_button search_shop" type="button">商家</button>
				<button class="btn btn-default search_button search_service" type="button">菜品</button>
				<span class="search_box_mess" style="color:red;display: none">*请输入查询关键字</span>
					

				</div>
				<div class="col-md-12">
					<form id="shop_search_box" action="<?php echo U('Shop/shopsearch');?>" method="post">
					<div class="input-group">						
				      <input type="text" name="keyword" class="form-control col-md-2 gosearch gosearch1keyword" placeholder="请输入要查找的商家..">
				      <span class="input-group-btn">
				        <button class="btn btn-default  gosearch1" type="submit">Go!</button>
				      </span>
				    </div><!-- /input-group -->	
				</form>
				<form id="service_search_box" style="display: none;" action="<?php echo U('Shop/service');?>" method="post">
					<div class="input-group">						
				      <input type="text" name="keyword"  class="form-control col-md-2 gosearch gosearch2keyword" placeholder="请输入要查找的菜品..">
				      <span class="input-group-btn">
				        <button class="btn btn-default  gosearch2" type="submit">Go!</button>
				      </span>
				    </div><!-- /input-group -->	
				</form>	
					

				</div>
				
								
				
				<!--<div id="ss"></div>

				<div id="box">
					<div data-options="iconCls:'icon-ok'">商铺</div>					
					<div data-options="iconCls:'icon-ok'" name="sports">服务</div>
					<div id="action" name="<?php echo U('Shop/shopsearch');?>" value="<?php echo U('Shop/shopservice');?>">
					</div>
				</div>	
			-->

			</div>
			
				

		</div>	
	<div class="row col-md-12 nav_main">
		<div class="col-md-3">
			<h4>全部服务分类</h4>
		</div>
		<div class="col-md-2">
			<h4><a href="<?php echo U('Index/index');?>">首页</a></h4>
		</div>
		<div class="col-md-3">
			<h4><a href="<?php echo U('Shop/addshop');?>">添加服务商获取积分</a></h4>
		</div>
		<div class="col-md-4">
			<h4>预约服务:免费_快捷_优惠_积分</h4>
		</div>
	</div>

<!--网页主要内容区-->

	<div class="main_content col-md-12">
			
				


     <div class="row">
      <h3>填写商铺信息<?php echo ($id); ?></h3>
       <div class="col-md-10 col-md-offset-1">
                   <form class="form-horizontal shop_add_form" action="<?php echo U('shopAdd');?>" method='post'>
                    <div class="form-group">
                      <label for="shop_name" class="col-sm-2 control-label">商铺名称 <span style="color:red">*</span></label>
                      <div class="col-sm-6">
                        <input type="email" name="shop_name" class="form-control" id="shop_name" placeholder="商铺名称">
                      </div>
                      <span class="label label-warning shop_name_mess"></span>
                    </div>
                    <div class="form-group">
                      <label for="shop_address" class="col-sm-2 control-label">商铺地址 <span style="color:red">*</span></label>        

                      <div class="col-sm-6">
                        <script type="text/javascript"> 
                          var area = new AreaCtrl("省份:","城市:","地区:");
                          area.write();
                          area.loadData();
                        </script> 

                        <input type="text" name="shop_address" class="form-control" id="shop_address" placeholder="详细地址">
                        <span class="label label-warning shop_address_mess"></span>
                      </div>

                    </div>
                    <!--

                    <div class="form-group">
                      <label for="shop_service" class="col-sm-2 control-label">服务类别 <span style="color:red">*</span></label>
                      <div class="col-sm-6">
                        <select type="text" class="form-control" id="shop_service" placeholder="美食">

                           
                            <option>美食</option>
                            <option>酒店</option>
                         </select>

                      </div>
                    </div>-->

                    <div class="form-group">
                      <label for="shop_telphone" class="col-sm-2 control-label">商铺电话 <span style="color:red">*</span></label>
                      <div class="col-sm-6">
                        <input type="text" name="shop_telephone" class="form-control" id="shop_telphone" placeholder="商铺电话">
                      </div>
                      <span class="label label-warning shop_telphone_mess"></span>
                    </div>
                    <div class="form-group">
                      <label for="shop_open_time" class="col-sm-2 control-label">营业时间 <span style="color:red">*</span></label>
                      <div class="col-sm-6">
                        <input type="text" name="shop_open_time" class="form-control" id="shop_open_time" placeholder="营业时间">
                      </div>
                      <span class="label label-warning shop_open_time_mess"></span>
                    </div>
                    <div class="form-group">
                      <label for="shop_traffic_information" class="col-sm-2 control-label">交通信息</label>
                      <div class="col-sm-6">
                        <input type="text" name="shop_traffic_information" class="form-control" id="shop_traffic_information" placeholder="交通信息">
                      </div>
                    </div>

                     <div class="form-group">
                        <label for="shop_introduction" class="col-sm-2 control-label">店铺简介</label>
                        <div class="col-sm-6"> 


                        <script id="container" name="content" type="text/plain">
                          请在这里填写简介
                        </script>   
                        </div>                     

                      </div>

                    <div class="form-group">

                      <div class="col-sm-offset-2 col-sm-6">
                        <input type="hidden" name="lable" value="0">
                      </div>
                    </div>


                    <div class="form-group">

                      <div class="col-sm-offset-2 col-sm-6">
                        <input id="shop_add" type="button" class="btn btn-default" value="添加商铺">
                      </div>
                    </div>
                  </form> 
                </div> 
     
      
    </div>    
  
	</div>
<!--网页底部-->

	<hr/>  

	<div class="footer col-md-12">
		<div class="copyright">
               Copyright &copy; 2013-2023 woaiyuyue.com 版权所有
         
        </div>
			
	</div>
</div>

</body>
</html>